
#ifndef __WINTALK_H__
# define __WINTALK_H__

# include <QtGui>

# define IMAGE_BG_TALK "./Images/twitter_bk_talk.png"
# define IMAGE_AVATAR_TALK "./Images/avatar/user.jpg"

class WinTalk : public QFrame
{
Q_OBJECT

public:
	WinTalk();
	~WinTalk();

public slots:
	void		manageTxtEdit();
	void		view1();
	void		view2();
	void		showTFrame();
	void		hideTFrame();
	void		sendMsg();

private:
	QFrame		*_mainFrame;
	QFrame		*_seeFrame;
	QFrame		*_talkFrame;

	QTextEdit	*_whatAreYouDoing;

	QLabel		*_avatar;
	QLabel		*_txtChar;

	QTimer		*_timer;

	QPushButton	*_btn1;
	QPushButton	*_btn2;
	QPushButton	*_btn3;
	QPushButton	*_btn4;
	QPushButton	*_btnUpdate;
};

#endif